﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Collections;
using Webchatting.Common;
using Webchatting.Dal;

public partial class FindPasword : System.Web.UI.Page
{
    public static string  ans, password;

     
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public void btnGetQue_Click(object sender, EventArgs e)
    {
        OperationRU ORuser = new OperationRU();
        IList<string> ilist = new List<string>();
        ilist = ORuser.GetRUSafeInfo(txtRUId.Text.Trim());
       
        Ltlone.Visible = true;
        Ltlone.Text = "安全问题："+ilist[1];
        password = ilist[0];
        ans = ilist[2];
        TextBox1.Visible = true;
        btnSummit.Visible = true;
    }
  

   protected void btnSummit_Click(object sender, EventArgs e)
    {
       
        if (TextBox1.Text == ans) {
            Literal2.Visible = true;
            Literal2.Text = "密码是："+password;
        }
    }
   protected void btnGetBack_Click(object sender, EventArgs e)
   {
       Server.Transfer("Index.aspx");
   }
}
